import request from '@/utils/request'

// 新建合同基本信息列表
export function contractLists(params?: Record<string, any>) {
    return request.get({ url: '/contract/list', params })
}

// 新建合同基本信息详情
export function contractDetail(params: Record<string, any>) {
    return request.get({ url: '/contract/detail', params })
}

// 新建合同基本信息新增
export function contractAdd(params: Record<string, any>) {
    return request.post({ url: '/contract/add', params })
}

// 新建合同基本信息编辑
export function contractEdit(params: Record<string, any>) {
    return request.post({ url: '/contract/edit', params })
}

// 新建合同基本信息删除
export function contractDelete(params: Record<string, any>) {
    return request.post({ url: '/contract/del', params })
}
